package com.cx.base.day21_jdbc.jdbc01.test;

import static com.cx.base.day21_jdbc.jdbc01.test.JDBCTest.select;

/**
 * @Author: robert.song
 * @Date: Created in 2022/5/30
 */
public class JBDCTest2 {

    public static void main(String[] args) {
        //        添加
        for (int i = 0; i < 100; i++) {
            Thread thread = new Thread(() -> {
                long start = System.currentTimeMillis();
                JDBCTest.select();
                System.out.println("time:" + String.valueOf(System.currentTimeMillis() - start));
            });

            thread.start();
        }
    }
}
